filechooser: Make filtering work again
authorMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jul 2020 14:08:28 +0000 (10:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jul 2020 14:28:10 +0000 (10:28 -0400)
One too many lines were dropped when this filter combo
was converted to a dropdown. Bring it back, to make
filtering work again.

gtk/gtkfilechooserwidget.c

index 94eb40c05df5248598dc3472ba3b120a503e183f..48d31858689040dd341b92e0c51cf5e75d162a51 100644 (file)
@@ -6933,6 +6933,8 @@ filter_combo_changed (GtkDropDown          *dropdown,
 
   new_filter = gtk_drop_down_get_selected_item (dropdown);
 
+  set_current_filter (impl, new_filter);
+
   if (impl->location_entry != NULL)
     _gtk_file_chooser_entry_set_file_filter (GTK_FILE_CHOOSER_ENTRY (impl->location_entry),
                                              new_filter);